package engine;

public class Util {

	public static int parseInt(String value) {
		try {
			return Integer.valueOf(value);
		}
		catch (NumberFormatException e) {
			Logger.getInstance().out(Logger.WARNING, "Error parsing number: " + value);
			return 0;
		}
	}

}